The ConstUniCharArrayPtr type is a pointer to the beginning of a text buffer. Note that ATSUI expects the buffer to contain Unicode text. Your application is responsible for allocating the memory associated with this pointer. You use the ConstUniCharArrayPtr type with the functions ATSUCreateTextLayoutWithTextPtr, ATSUSetTextPointerLocation, and ATSUTextMoved.
typedef const UniChar *ConstUniCharArrayPtr;